<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>mod_login</title>
{#    <base href="/">#}
    <link rel="stylesheet" href="/static/css/index.css">
    <script src="/static/js/jquery-1.11.3.min.js"></script>
</head>
<body>
<form action="/user/login/" method="POST">
    <a class="goregister" href="/user/register/">register</a>
    {% csrf_token %}
    <h2>
        LOGIN
    </h2>
    <p>
        username:<input type="text" name="username">
    </p>
    <p>
        password:<input type="password" name="password">
    </p>
    <p class="yzm">{{ captcha }}</p>
    <input style="width: 100px;height: 40px;border-radius: 5px;outline: 0;border: none" type="submit">
</form>
</body>
<script src="/static/js/index.js"></script>
</html>